package in.muton.edushare.pages.publicpages.univpages;

import in.muton.edushare.components.images.ProfileImage;

import org.apache.wicket.PageParameters;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.basic.MultiLineLabel;

import com.edushare.common.constants.ApplicationConstants;

public class UnivPublic extends UnivBasePublic {

	public UnivPublic(PageParameters params) {
		super(params);
		add(new MultiLineLabel("univDesc", getUnivModel().getObject().getUniversityDesc()).setEscapeModelStrings(false));
		add(new ProfileImage("univImage", getUnivModel(), ApplicationConstants.FILE_SUFFIX_HBADGE));
	}

	@Override
	public String getPageName(PageParameters params) {
		return "univPublic";
	}
}
